﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BarcodeDetail.aspx.cs" Inherits="ZLCMS.Web.SystemManage.weixin.Senior.Barcode.BarcodeDetail" %>


<div class="pageContent">
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/weixin/Senior/Barcode/BarcodeDetail.aspx">
    

    <div class="pageFormContent" layoutH="56">
    
        <dl class="nowrap">
            <dt>二维码类型</dt>
            <dd>
                <asp:dropdownlist runat="server" id="kind" class="combox">
                    <asp:ListItem>QR_SCENE</asp:ListItem>
                    <asp:ListItem>QR_LIMIT_SCENE</asp:ListItem>
                </asp:dropdownlist>
            <span class="info">二维码类型，QR_SCENE为临时,QR_LIMIT_SCENE为永久 </span>
            </dd>
        </dl>

        <dl class="nowrap">
            <dt>有效时间</dt>
            <dd><asp:textbox id="seconds" runat="server"/>
            <span class="info">该二维码有效时间，以秒为单位。 最大不超过1800</span>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>场景id</dt>
            <dd><asp:textbox id="sceneId" runat="server" />
            <span class="info">场景值ID，临时二维码时为32位整型，永久二维码时为1-100000的整数</span>
            </dd>
        </dl>
        
        <dl class="nowrap">
            <dt>场景说明</dt>
            <dd><asp:TextBox ID="memo" Width="400px" runat="server" TextMode="MultiLine" Rows="5"></asp:TextBox></dd>
        </dl>

        <%if ( ViewState["uid"]!=null && (int)ViewState["uid"] > 0)
          { %>
            <dt>二维码图片</dt>
            <dd><img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=<%=Server.UrlEncode(Ticket)%>" alt="二维码" width="150px"/></dd>
        <%} %>
	</div>

<div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('0');" type="submit">保存</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent">
		    <button type="button" onclick="navTab.openTab('BarcodeDetail', '/SystemManage/weixin/Senior/Barcode/BarcodeDetail.aspx',{title:'二维码明细',data:{tabid:'BarcodeDetail'}});">取消并新增</button></div></div>
			</li>
            <li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('1');" type="submit">保存并新增</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>
		</ul>
</div>

</form>
</div>

